package leetcode;

import java.util.regex.Pattern;

/**
 * <p></p>
 *
 * @author bin.zhang
 * <p/>
 * Revision History:
 * 2020/09/21, 初始化版本
 * @version 1.0
 **/
public class IsMatch {


//	public boolean isMatch(String s, String p) {
//
//	}

	public static void main(String[] args){
//		String content = "I am noob ";
//
//		String pattern = ".*runoob.*";

		boolean isMatch = Pattern.matches("c*a*b", "aab");
		System.out.println("字符串中是否包含了 'runoob' 子字符串? " + isMatch);
	}
}
